const Sequelize = require('sequelize');
const db = new Sequelize('cinema', 'root', 'admin123', {
    host: 'localhost',
    port: '3306',
    dialect: 'mysql',
})

module.exports = db;//导出数据库实例